package routers

import (
	"github.com/gin-gonic/gin"
	v1 "perfect-admin/api/v1"
	"perfect-admin/middleware"
)

func InitExcelRouter(Router *gin.RouterGroup)  {
	ExcelRouter := Router.Group("excel").Use(middleware.JWTAuth()).Use(middleware.CasbinHandler())
	{
		ExcelRouter.POST("/uploadExcel", v1.UploadExcel)
	}
}
